package com.sunwayworld.basemodule.rm.train.exampaper.dao.impl;

import com.sunwayworld.basemodule.rm.train.exampaper.bean.LimsCoreExamPaperBean;
import com.sunwayworld.basemodule.rm.train.exampaper.dao.LimsCoreExamPaperDao;
import com.sunwayworld.basemodule.rm.train.exampaper.mapper.LimsCoreExamPaperMapper;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;


import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsCoreExamPaperDaoImpl extends MybatisDaoSupport<LimsCoreExamPaperBean, Long> implements LimsCoreExamPaperDao {

    @Autowired
    private LimsCoreExamPaperMapper limsCoreExamPaperMapper;

    @Override
    public LimsCoreExamPaperMapper getMapper() {
        return limsCoreExamPaperMapper;
    }

    @Override
    public List<Map<String, Object>> searchExamPaperCode(MapperParameter parameter) {
        return getMapper().searchExamPaperCode(parameter);
    }
}